import com.showcal.thermalcontrol.request.CateCommentCreateRequest;
import com.showcal.thermalcontrol.request.MealsPictureCreateRequest;
import com.showcal.thermalcontrol.request.SyncHeatDetailCreateRequest;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * Created by Administrator on 2015/11/13.
 */
public class SyncHeatCreateRequest {
    /**
     * 餐次
     */

    private Long mealsId;

    /**
     * 食物热量
     */

    private Double totalHeat;

    /**
     * 蛋白质(克)
     */

    private Double totalProtein;

    /**
     * 脂肪（克）
     */

    private Double totalFat;

    /**
     * 碳水化合物（克）
     */

    private Double totalCarbohydrate;

    /**
     * 膳食纤维（克）
     */

    private Double totalDf;

    /**
     * 实际评分值
     */

    private Double grade;

    /**
     * 是否同步完成
     */

    private Boolean isSynced;

    /**
     * 目标热量
     */

    private  Double   goalHeat;

    /**
     * 当餐目标蛋白质
     */

    private  Double   goalProtein;

    /**
     * 目标脂肪
     */

    private  Double   goalFat;

    /**
     * 目标碳水化合物
     */

    private  Double   goalCarbohydrate;

    /**
     * 目标膳食纤维
     */

    private  Double   goalDf;

    /**
     * 类型 1=拍照上传，2=食物选择上传
     */

    @Length(min=0, max=50, message = "类型长度不合法")
    private  String   type;

    /**
     * 描述
     */

    @Length(min=0, max=500, message = "描述长度不合法")
    private  String   desc;

    /**
     * 是否已评论 1=已评论，0=未评论
     */

    @Length(min=0, max=50, message = "是否已评论长度不合法")
    private  String   isComment;

    /**
     * 当前餐次计数 当前餐次计数
     */

    private  Integer   currentMealCount;

    /**
     * 同步行记录
     */
    private List<SyncHeatDetailCreateRequest> detail;
    private List<CateCommentCreateRequest> cateComment ;
    private List<MealsPictureCreateRequest> mealsPicture;

    public List<MealsPictureCreateRequest> getMealsPicture() {
        return mealsPicture;
    }

    public void setMealsPicture(List<MealsPictureCreateRequest> mealsPicture) {
        this.mealsPicture = mealsPicture;
    }

    public List<CateCommentCreateRequest> getCateComment() {
        return cateComment;
    }

    public void setCateComment(List<CateCommentCreateRequest> cateComment) {
        this.cateComment = cateComment;
    }

    public List<SyncHeatDetailCreateRequest> getDetail() {
        return detail;
    }

    public void setDetail(List<SyncHeatDetailCreateRequest> detail) {
        this.detail = detail;
    }

    public Long getMealsId() {
        return mealsId;
    }

    public void setMealsId(Long mealsId) {
        this.mealsId = mealsId;
    }

    public Double getTotalHeat() {
        return totalHeat;
    }

    public void setTotalHeat(Double totalHeat) {
        this.totalHeat = totalHeat;
    }

    public Double getTotalProtein() {
        return totalProtein;
    }

    public void setTotalProtein(Double totalProtein) {
        this.totalProtein = totalProtein;
    }

    public Double getTotalFat() {
        return totalFat;
    }

    public void setTotalFat(Double totalFat) {
        this.totalFat = totalFat;
    }

    public Double getTotalCarbohydrate() {
        return totalCarbohydrate;
    }

    public void setTotalCarbohydrate(Double totalCarbohydrate) {
        this.totalCarbohydrate = totalCarbohydrate;
    }

    public Double getTotalDf() {
        return totalDf;
    }

    public void setTotalDf(Double totalDf) {
        this.totalDf = totalDf;
    }

    public Double getGrade() {
        return grade;
    }

    public void setGrade(Double grade) {
        this.grade = grade;
    }

    public Boolean getIsSynced() {
        return isSynced;
    }

    public void setIsSynced(Boolean isSynced) {
        this.isSynced = isSynced;
    }

    public Double getGoalHeat() {
        return goalHeat;
    }

    public void setGoalHeat(Double goalHeat) {
        this.goalHeat = goalHeat;
    }

    public Double getGoalProtein() {
        return goalProtein;
    }

    public void setGoalProtein(Double goalProtein) {
        this.goalProtein = goalProtein;
    }

    public Double getGoalFat() {
        return goalFat;
    }

    public void setGoalFat(Double goalFat) {
        this.goalFat = goalFat;
    }

    public Double getGoalCarbohydrate() {
        return goalCarbohydrate;
    }

    public void setGoalCarbohydrate(Double goalCarbohydrate) {
        this.goalCarbohydrate = goalCarbohydrate;
    }

    public Double getGoalDf() {
        return goalDf;
    }

    public void setGoalDf(Double goalDf) {
        this.goalDf = goalDf;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getIsComment() {
        return isComment;
    }

    public void setIsComment(String isComment) {
        this.isComment = isComment;
    }

    public Integer getCurrentMealCount() {
        return currentMealCount;
    }

    public void setCurrentMealCount(Integer currentMealCount) {
        this.currentMealCount = currentMealCount;
    }
}
